﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:s="clr-namespace:System;assembly=mscorlib">
    <s:String x:Key="MainDateFormat">D</s:String>
    <s:String x:Key="ForecastDateFormat">dddd</s:String>
    <Style x:Key="WidgetStyle" TargetType="UserControl">
        <Setter Property="Width" Value="500"/>
        <Setter Property="Height" Value="240"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
    </Style>
    <Style x:Key="BasePanelStyle" TargetType="Grid">
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Margin" Value="0,-30,0,0"/>
    </Style>
    <Style x:Key="BaseStyle" TargetType="Image">
        <Setter Property="Width" Value="500"/>
        <Setter Property="Height" Value="140"/>
        <Setter Property="Stretch" Value="Fill"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
    </Style>
    <Style x:Key="LightningBg1Style" TargetType="Rectangle">
        <Setter Property="Fill" Value="White"/>
        <Setter Property="Opacity" Value="0"/>
        <Setter Property="Width" Value="500"/>
        <Setter Property="Height" Value="165"/>
        <Setter Property="RadiusX" Value="5"/>
        <Setter Property="RadiusY" Value="5"/>
    </Style>
    <Style x:Key="LightningBg2Style" TargetType="Rectangle">
        <Setter Property="Fill" Value="White"/>
        <Setter Property="Opacity" Value="0"/>
        <Setter Property="Width" Value="500"/>
        <Setter Property="Height" Value="165"/>
        <Setter Property="RadiusX" Value="10"/>
        <Setter Property="RadiusY" Value="10"/>
    </Style>
    <Style x:Key="FrostBgStyle" TargetType="Rectangle">
        <Setter Property="Fill" Value="#d9f3ff"/>
        <Setter Property="Opacity" Value="0"/>
        <Setter Property="Width" Value="500"/>
        <Setter Property="Height" Value="140"/>
        <Setter Property="RadiusX" Value="15"/>
        <Setter Property="RadiusY" Value="15"/>
        <Setter Property="Margin" Value="0,-25,0,0"/>
    </Style>
    <Style x:Key="FrostLeftStyle" TargetType="Image">
        <Setter Property="Opacity" Value="0"/>
        <Setter Property="Width" Value="90"/>
        <Setter Property="Height" Value="112"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="Margin" Value="0,0,0,0"/>
    </Style>
    <Style x:Key="FrostRightStyle" TargetType="Image">
        <Setter Property="Opacity" Value="0"/>
        <Setter Property="Width" Value="90"/>
        <Setter Property="Height" Value="112"/>
        <Setter Property="HorizontalAlignment" Value="Right"/>
        <Setter Property="Margin" Value="0,0,0,0"/>
    </Style>
    <Style x:Key="WeatherPanelStyle" TargetType="Grid">
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Margin" Value="0,0,0,0"/>
        <Setter Property="Height" Value="140"/>
    </Style>
    <Style x:Key="Icicle1Style" TargetType="UserControl">
        <Setter Property="Canvas.Left" Value="0"/>
        <Setter Property="Canvas.Top" Value="22"/>
    </Style>
    <Style x:Key="Icicle2Style" TargetType="UserControl">
        <Setter Property="Canvas.Left" Value="130"/>
        <Setter Property="Canvas.Top" Value="22"/>
    </Style>
    <Style x:Key="Icicle3Style" TargetType="UserControl">
        <Setter Property="Canvas.Left" Value="480"/>
        <Setter Property="Canvas.Top" Value="23"/>
    </Style>

    <Style x:Key="CityGridStyle" TargetType="Grid">
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="Margin" Value="270,0,0,20"/>
    </Style>
    <Style x:Key="CityTextStyle" TargetType="TextBlock">
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="FontSize" Value="18"/>
        <Setter Property="TextTrimming" Value="CharacterEllipsis"/>
    </Style>
    <Style x:Key="CityTextShadowStyle" TargetType="TextBlock">
        <Setter Property="Foreground" Value="Black"/>
        <Setter Property="Margin" Value="-1,-1,0,0"/>
        <Setter Property="FontSize" Value="18"/>
        <Setter Property="Opacity" Value="0.7"/>
        <Setter Property="TextTrimming" Value="CharacterEllipsis"/>
    </Style>

    <Style x:Key="WeatherGridStyle" TargetType="Grid">
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="Margin" Value="270,0,0,5"/>
    </Style>
    <Style x:Key="WeatherTextStyle" TargetType="TextBlock">
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="FontSize" Value="14"/>
        <Setter Property="TextTrimming" Value="CharacterEllipsis"/>
        <Setter Property="LineHeight" Value="13"/>
        <Setter Property="LineStackingStrategy" Value="BlockLineHeight"/>
    </Style>
    <Style x:Key="WeatherTextShadowStyle" TargetType="TextBlock">
        <Setter Property="Margin" Value="-1,-1,0,0"/>
        <Setter Property="Foreground" Value="Black"/>
        <Setter Property="FontSize" Value="14"/>
        <Setter Property="TextTrimming" Value="CharacterEllipsis"/>
        <Setter Property="Opacity" Value="0.7"/>
        <Setter Property="LineHeight" Value="13"/>
        <Setter Property="LineStackingStrategy" Value="BlockLineHeight"/>
    </Style>

    <Style x:Key="WeatherIconGridStyle" TargetType="Grid">
        <Setter Property="HorizontalAlignment" Value="Right"/>
        <Setter Property="Height" Value="190"/>
        <Setter Property="Width" Value="190"/>
        <Setter Property="Margin" Value="0,-50,10,0"/>
    </Style>

    <Style x:Key="DateGridStyle" TargetType="Grid">
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="Margin" Value="20,0,0,5"/>
    </Style>
    <Style x:Key="DateTextStyle" TargetType="TextBlock">
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="FontSize" Value="17"/>
    </Style>
    <Style x:Key="DateTextShadowStyle" TargetType="TextBlock">
        <Setter Property="Foreground" Value="Black"/>
        <Setter Property="Margin" Value="-1,-1,0,0"/>
        <Setter Property="FontSize" Value="17"/>
        <Setter Property="Opacity" Value="0.7"/>
    </Style>

    <Style x:Key="TemperatureGridStyle" TargetType="Grid">
        <Setter Property="HorizontalAlignment" Value="Right"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Margin" Value="0,-5,160,0"/>
    </Style>
    <Style x:Key="TemperatureTextStyle" TargetType="TextBlock">
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="FontSize" Value="40"/>
    </Style>
    <Style x:Key="TemperatureTextShadowStyle" TargetType="TextBlock">
        <Setter Property="Margin" Value="-1,-1,0,0"/>
        <Setter Property="Foreground" Value="Black"/>
        <Setter Property="FontSize" Value="40"/>
        <Setter Property="Opacity" Value="0.7"/>
    </Style>

    <Style x:Key="ClockPanelStyle" TargetType="StackPanel">
        <Setter Property="Orientation" Value="Horizontal"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="Margin" Value="10,-35,0,35"/>
    </Style>

    <Style x:Key="HoursTabStyle" TargetType="UserControl"/>
    <Style x:Key="MinutesTabStyle" TargetType="UserControl"/>

    <Style x:Key="ForecastGridStyle" TargetType="Grid">
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Margin" Value="0,10,0,0"/>
    </Style>
    <Style x:Key="ForecastBaseStyle" TargetType="Image">
        <Setter Property="Width" Value="500"/>
        <Setter Property="Height" Value="50"/>
        <Setter Property="Stretch" Value="Fill"/>
    </Style>
    <Style x:Key="ForecastFrostBgStyle" TargetType="Rectangle">
        <Setter Property="Fill" Value="#d9f3ff"/>
        <Setter Property="Opacity" Value="0"/>
        <Setter Property="Width" Value="500"/>
        <Setter Property="Height" Value="50"/>
        <Setter Property="RadiusX" Value="5"/>
        <Setter Property="RadiusY" Value="5"/>
    </Style>
    <Style x:Key="ForecastPanelStyle" TargetType="StackPanel">
        <Setter Property="Orientation" Value="Horizontal"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
    </Style>
    <Style x:Key="ForecastDay1Style" TargetType="UserControl">
        <Setter Property="Margin" Value="0,-45,0,0"/>
    </Style>
    <Style x:Key="ForecastDay2Style" TargetType="UserControl">
        <Setter Property="Margin" Value="0,-45,0,0"/>
    </Style>
    <Style x:Key="ForecastDay3Style" TargetType="UserControl">
        <Setter Property="Margin" Value="0,-45,0,0"/>
    </Style>
    <Style x:Key="ForecastDay4Style" TargetType="UserControl">
        <Setter Property="Margin" Value="0,-45,0,0"/>
    </Style>
    <Style x:Key="ForecastDay5Style" TargetType="UserControl">
        <Setter Property="Margin" Value="0,-45,0,0"/>
    </Style>



    <!-- ForecastItem style -->
    <Style x:Key="ForecastItemBaseStyle" TargetType="Grid">
        <Setter Property="Width" Value="100"/>
    </Style>
    
    <Style x:Key="ForecastItemDayGridStyle" TargetType="Grid">
        <Setter Property="VerticalAlignment" Value="Bottom"/>
    </Style>
    <Style x:Key="ForecastItemDayStyle" TargetType="TextBlock">
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="Foreground" Value="LightGray"/>
        <Setter Property="FontSize" Value="11"/>
        <Setter Property="Margin" Value="0,0,0,0"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
    </Style>
    <Style x:Key="ForecastItemDayShadowStyle" TargetType="TextBlock">
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="Foreground" Value="Black"/>
        <Setter Property="FontSize" Value="11"/>
        <Setter Property="Margin" Value="-1,-1,0,0"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
    </Style>

    <Style x:Key="ForecastItemTemperaturePanelStyle" TargetType="StackPanel">
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Orientation" Value="Horizontal"/>
        <Setter Property="Margin" Value="0,0,0,12"/>
    </Style>
    
    <Style x:Key="ForecastItemTemperatureHGridStyle" TargetType="Grid">
        <Setter Property="VerticalAlignment" Value="Bottom"/>
    </Style>
    <Style x:Key="ForecastItemTemperatureHStyle" TargetType="TextBlock">
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="Foreground" Value="White"/>
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="FontWeight" Value="DemiBold"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
    </Style>
    <Style x:Key="ForecastItemTemperatureHShadowStyle" TargetType="TextBlock">
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="Foreground" Value="Black"/>
        <Setter Property="FontSize" Value="11"/>
        <Setter Property="Margin" Value="-1,-1,0,0"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
    </Style>

    <Style x:Key="ForecastItemTemperatureLGridStyle" TargetType="Grid">
        <Setter Property="VerticalAlignment" Value="Bottom"/>
    </Style>
    <Style x:Key="ForecastItemTemperatureLStyle" TargetType="TextBlock">
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="Foreground" Value="LightGray"/>
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="FontWeight" Value="DemiBold"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
    </Style>
    <Style x:Key="ForecastItemTemperatureLShadowStyle" TargetType="TextBlock">
        <Setter Property="VerticalAlignment" Value="Bottom"/>
        <Setter Property="Foreground" Value="Black"/>
        <Setter Property="FontSize" Value="11"/>
        <Setter Property="Margin" Value="-1,-1,0,0"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
    </Style>

    <Style x:Key="ForecastItemIconStyle" TargetType="Image">
        <Setter Property="Width" Value="75"/>
        <Setter Property="Height" Value="74"/>
        <Setter Property="Stretch" Value="Fill"/>
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="Margin" Value="0,-10,0,0"/>
    </Style>
    
    
</ResourceDictionary>